﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Graphics;

namespace CrashSimul8or
{
    class ButtonContainer
    {
        public List<Texture2D> textures;
        public List<ButtonEvent> events;
        public List<Color> buttonColorIdle;
        public List<Color> buttonColorHover;
        public List<Color> buttonColorPressed;

        public ButtonContainer()
        {
            textures = new List<Texture2D>();
            events = new List<ButtonEvent>();
            buttonColorIdle = new List<Color>();
            buttonColorHover = new List<Color>();
            buttonColorPressed = new List<Color>();
        }

        public void AddButton(Texture2D texture, ButtonEvent bEvent, Color buttonIdle, Color buttonHover, Color Pressed)
        {
            textures.Add(texture);
            events.Add(bEvent);
            buttonColorIdle.Add(buttonIdle);
            buttonColorHover.Add(buttonHover);
            buttonColorPressed.Add(Pressed);
        }

    }
}
